/*
 * Timer.h
 *
 *  Created on: 06/09/2012
 *      Author: leandro
 */

#ifndef TIMER_H_
#define TIMER_H_

#include "SDL/SDL.h"
#include "SDL/SDL_ttf.h"

using namespace std;

class Timer{

	private:
	Uint32 startTick;
	Uint32 pauseTick;
	bool paused;
	bool started;

	public:
	Timer();
	void start();
	void stop();
	void pause();
	void unPause();

	bool isStarted();
	bool isPaused();
	Uint32 getTick();

};


#endif /* TIMER_H_ */
